package com.tanhua.domain.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author YiJian
 * @date 2021/8/6 19:23
 */
@Data
@Document(collection = "sound")
public class Sound implements Serializable {

	private static final long serialVersionUID = 5428942042395935324L;
	@Id
	private ObjectId id; //主键id

	private String userId; //用户id
	private String soundUrl;//语音地址
	private String created;//创建时间
}

